package com.graducationdesign.springboot.entities.Administrator.GraducationDesignListMoudle;

import java.util.Date;

/**
 * @author Mr.zhneg
 * @create 2019-11-25-20:22
 */
public class VoiceMessage {

    private String sendname;
    private String receivename;
    private String message;
    private Date created;


    public VoiceMessage(){

    }
    public VoiceMessage(String sendname, String receivename, String message) {
        this.sendname = sendname;
        this.receivename = receivename;
        this.message = message;
        this.created = new Date();
    }



    @Override
    public String toString() {
        return "VoiceMessage{" +
                "sendname='" + sendname + '\'' +
                ", receivename='" + receivename + '\'' +
                ", message='" + message + '\'' +
                ", data=" + created +
                '}';
    }

    public String getSendname() {
        return sendname;
    }

    public void setSendname(String sendname) {
        this.sendname = sendname;
    }

    public String getReceivename() {
        return receivename;
    }

    public void setReceivename(String receivename) {
        this.receivename = receivename;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getData() {
        return created;
    }

    public void setData(Date time) {
        this.created = time;
    }
}
